Import diddy

Class HGameImage Extends GameImage

	Method HLoad:Void(file:Image,hname:String, midhandle:Bool = True, readPixels:Bool = False, maskRed:Int = 0, maskGreen:Int = 0, maskBlue:Int = 0, preLoad:Bool = False, screenName:String = "")
		name = StripAll(hname)
		'path = file
		
		'Self.preLoad = preLoad
		'Self.screenName = screenName.ToUpper()
		'If Not preLoad Then
			image = file
			CalcSize()
			SetHandle(file.Width()/2, file.Height()/2)
			pixels = New Int[image.Width() * image.Height()]
			'ReadPixelsArray()
		'End
		SetMaskColor(maskRed, maskGreen, maskBlue)
	End

End